import { createApp } from 'vue'
import { createPinia } from 'pinia'
import './style.css'
import App from './App.vue'
import router from './router'
import 'vant/lib/index.css'
import { ImagePreview, Toast, Dialog, Loading } from 'vant'

const pinia = createPinia()
const app = createApp(App)

app.use(pinia)  // 必须在使用其他插件之前先使用 pinia
app.use(router)
app.use(ImagePreview)
app.use(Toast)
app.use(Dialog)
app.use(Loading)

app.mount('#app')


